# sh testcase for st.q $rm, $disp10, $rd -*- Asm -*-
# mach: all
# as: -isa=shmedia
# ld: -m shelf64

	.include "media/testutils.inc"

	start

init:
	movi -1, r7
	xori r7, 13, r7
	movi 40, r0
	shlli r0, 8, r0

stw1:
	st.w r0, 0, r7

stw2:
	st.w r0, 2, r7

stw3:
	st.w r0, -2, r7

okay:
	pass
